package com.intelligence.device.manager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.intelligence.entity.pojo.Farm;
import com.intelligence.entity.pojo.Monpoints;
import com.intelligence.device.manager.service.MonpointsService;
import com.intelligence.device.manager.mapper.MonpointsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_monpoints(监测点管理
)】的数据库操作Service实现
* @createDate 2024-05-29 17:25:34
*/
@Service
public class MonpointsServiceImpl extends ServiceImpl<MonpointsMapper, Monpoints>
    implements MonpointsService{
    @Autowired
    private MonpointsMapper monpointsMapper;
    @Override
    public List<Monpoints> findAllMOnpointsByfarmId(List<Farm> farmIdFromUserId) {
        return this.monpointsMapper.findAllMOnpointsByfarmId(farmIdFromUserId);
    }
}




